package cn.wen.yinxiu.member.dao;

import cn.wen.yinxiu.member.entity.TalkBoxEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 
 *
 * @ClassName: TalkBoxDao
 * @Author 小飞
 * @Email coderwen22@163.com
 * @Date 2023-05-21 22:19:26
 * @Description: 对话聊天框信息
 */
@Component
@Mapper
public interface TalkBoxDao extends BaseMapper<TalkBoxEntity> {

    /**
     * 获取用户群组的窗口ID列表
     * @param userId
     * @param talkType
     * @param status
     * @param isDeleted
     * @return
     */
    List<Long> selectTalkBoxGroupIdList(@Param("userId") Long userId,
                                        @Param("talkType") Integer talkType,
                                        @Param("status") Integer status,
                                        @Param("isDeleted") Integer isDeleted);

}
